package com.lagou.zk;

/**
 * ZK服务器状态变化通知处理器接口
 */
public interface ServerSpeedHandler {
    void onServerSpeedAdd(String serverName, long speed) throws InterruptedException;

    void onServerSpeedRemove(String serverName);

    void onServerSpeedUpdate(String serverName, long speed, long time) throws InterruptedException;
}
